package com.cx.mapper;

import com.cx.entity.Collect;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CollectMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Collect record);

    int insertOrUpdate(Collect record);

    int insertOrUpdateSelective(Collect record);

    int insertSelective(Collect record);

    Collect selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Collect record);

    int updateByPrimaryKey(Collect record);

    int updateBatch(List<Collect> list);

    int batchInsert(@Param("list") List<Collect> list);
}